package com.inspur.cloud.service.ambari;

import com.inspur.cloud.dao.ambari.ClusterConfigDao;
import com.inspur.cloud.entity.ambari.ClusterConfigEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ClusterConfigService {
    @Autowired
    private ClusterConfigDao clusterConfigDao;

    public ClusterConfigEntity findByTypeNameAndSelected(String typeName, Integer selected) {
        return clusterConfigDao.findByTypeNameAndSelected(typeName, selected);
    }
}
